package com.mt.api.modules.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: plover
 * @Date: 2022/01/03 10:12 上午
 * @Description:
 */
@Data
public class OrderStatByOrderNoVo {

    private Integer id;

    private String orderNo;

    private String orderTime;

    private Integer qty;

    @ApiModelProperty(value = "订单类型 1-销售 2-销售退货")
    private Integer type;

    private String typeText;

    private String creator;

    @ApiModelProperty(value = "订单金额")
    private String amount;

    /**
     * 入库记录
     */
    private List<Detail> detailList;

    @Data
    public static class Detail {

        @ApiModelProperty(value = "货号")
        private String cargoNo;

        @ApiModelProperty(value = "颜色")
        private String color;

        @ApiModelProperty(value = "尺码")
        private String size;

        @ApiModelProperty(value = "库存数量")
        private Integer qty;

        @ApiModelProperty(value = "sku金额")
        private String amount;
    }
}
